package drone.facade.model.entity.auth ;

import java.io.Serializable ;

import drone.basis.meta.EntityMeta ;
import drone.basis.meta.FieldMeta ;
import drone.facade.model.entity.BaseEntity ;

@EntityMeta ( name = "角色功能" , description = "角色功能" , table = "auth_rolfun" , alias = "_auth_rolfun" , assign = false , foreign = false , visible = true , order = 1 , version = "1.0" )
public class AuthRolfunEntity extends BaseEntity implements Serializable
{

	private static final long serialVersionUID = 1L ;

	public enum AuthRolfunField
	{
		funNo ( "_auth_rolfun.fun_no" ) ,
		rolNo ( "_auth_rolfun.rol_no" ),;

		private String name ;

		private AuthRolfunField (
				String name
		)
		{
			this.name = name ;
		}

		public String getName ( )
		{
			return name ;
		}

		public void setName (
				String name
		)
		{
			this.name = name ;
		}
	}

	@FieldMeta ( primary = true , name = "功能编号" , description = "功能编号" , column = "fun_no" , require = true , range = true , vague = false , visible = true , length = 32 , order = 1 )
	private String funNo ;

	public String getFunNo ( )
	{
		return funNo ;
	}

	public void setFunNo (
			String funNo
	)
	{
		this.funNo = funNo ;
	}

	@FieldMeta ( primary = true , name = "角色编号" , description = "角色编号" , column = "rol_no" , require = true , range = true , vague = false , visible = true , length = 32 , order = 2 )
	private String rolNo ;

	public String getRolNo ( )
	{
		return rolNo ;
	}

	public void setRolNo (
			String rolNo
	)
	{
		this.rolNo = rolNo ;
	}

}
